package com.nj.api.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.nj.api.entity.Account;
import com.nj.api.entity.User;

import java.math.BigDecimal;

public interface AccountService extends IService<Account> {
    BigDecimal getBalanceByUid(User user);

    void investment(BigDecimal bidMoney, Integer pid, Integer uid);
}
